<%--
  Created by IntelliJ IDEA.
  User: 14533
  Date: 2022/1/29
  Time: 17:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style type="text/css">
        table {
            width: 650px;
        }
    </style>
</head>
<body>
    <%--练习一：在jsp页面中输出九九乘法口诀表--%>
    <h1 align="center">九九乘法口诀表</h1>
    <table align="center">
        <%for (int i = 1; i<10; i++) {%>
        <tr>
            <%for (int j = 1; j<=i; j++) {%>
            <td><%=j + "*" + i + "=" + i*j%></td>
            <%}%>
        </tr>
        <%}%>
    </table>

</body>
</html>
